package com.Logistics.mycommon.pojo.pdaggregation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 组织
 * </p>
 *
 * @author PinDaLogistics
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdCoreOrg对象", description="组织")
public class PdCoreOrg implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "简称")
    private String abbreviation;

    @ApiModelProperty(value = "父ID")
    private Long parentId;

    @ApiModelProperty(value = "部门类型 1为分公司，2为一级转运中心 3为二级转运中心 4为网点")
    private Boolean orgType;

    @ApiModelProperty(value = "省")
    private Long provinceId;

    @ApiModelProperty(value = "市")
    private Long cityId;

    @ApiModelProperty(value = "区")
    private Long countyId;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "联系电话")
    private String contractNumber;

    @ApiModelProperty(value = "负责人id")
    private Long managerId;

    @ApiModelProperty(value = "树结构")
    private String treePath;

    @ApiModelProperty(value = "排序")
    private Integer sortValue;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "描述")
    private String describe;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "营业时间")
    private String businessHours;

    private Date createTime;

    private Long createUser;

    private Date updateTime;

    private Long updateUser;


}
